<template>
  <div>
    <el-select multiple v-model="value" placeholder="请选择" style="width: 300px" size="small">
      <el-option
          value-key="value"
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value">
      </el-option>
    </el-select>
    <el-button type="primary" size="mini" @click="handleBtnClick">提交</el-button>
  </div>
</template>

<script>
export default {
  name: "SelectTest",
  data() {
    return {
      options: [
        { value: '1001', label: '黄金糕' },
        { value: '1002', label: '双皮奶' },
        { value: '1003', label: '龙须面' },
      ],
      value: ['1001']
    }
  },
  methods: {
    handleBtnClick() {
      console.log(this.value);
    }
  }
}
</script>

<style scoped>

</style>